package Component;

public class TextComponent extends AComponent {

    private String ContentText;

    public void SetText(String newText) {
        ContentText = newText;
    }

    @Override
    public void Func() {
        System.err.println(ContentText);
    }
}
